<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>PowerDesigner设计时表显示注释选项</title>
</head>
<body style="margin-left: 500px">
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		显示操作</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<img
			src="1.jpg"
			alt="" />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<br />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<img
			src="2.jpg"
			alt="" />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<br />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		调出执行命令的接口</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<img
			src="3.jpg"
			alt="" />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		<br />
	</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		执行夏利命令</p>
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		从name替换comment</p>
	<div class="dp-highlighter bg_java"
		style="margin: 0px 0px 24px; padding: 1px 0px 0px; font-family: Consolas,&amp; quot; background-color: #E7E5DC; color: #454545;">
		<div class="bar" style="margin: 0px; padding: 0px 0px 0px 45px;">
			<div class="tools"
				style="margin: 0px; padding: 3px 8px 10px 10px; font-size: 9px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #F8F8F8;">
				<b>[java]</b>&nbsp;<a
					href="https://blog.csdn.net/chao_1990/article/details/52620206#"
					class="ViewSource" target="_self">view plain</a><span
					class="tracking-ad">&nbsp;<a
					href="https://blog.csdn.net/chao_1990/article/details/52620206#"
					class="CopyToClipboard" target="_self">copy</a>
					<div style="margin: 0px; padding: 0px;"></div>
				</span><span class="tracking-ad"></span>
			</div>
		</div>
		<ol class="dp-j" style="background-color: #FFFFFF; color: #5C5C5C;">
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;"><span
					style="background-color: inherit;">Option&nbsp;&nbsp;&nbsp;Explicit&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">ValidationMode&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;True&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">InteractiveMode&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;im_Batch&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Dim&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">'&nbsp;&nbsp;&nbsp;get&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;active&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">Set&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;ActiveModel&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">If&nbsp;&nbsp;&nbsp;(mdl&nbsp;&nbsp;&nbsp;Is&nbsp;&nbsp;&nbsp;Nothing)&nbsp;&nbsp;&nbsp;Then&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox&nbsp;&nbsp;&nbsp;<span
					class="string" style="color: #0000FF; background-color: inherit;">"There&nbsp;&nbsp;&nbsp;is&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;Model&nbsp;"</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">ElseIf&nbsp;&nbsp;&nbsp;Not&nbsp;&nbsp;&nbsp;mdl.IsKindOf(PdPDM.cls_Model)&nbsp;&nbsp;&nbsp;Then&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox&nbsp;&nbsp;&nbsp;<span
					class="string" style="color: #0000FF; background-color: inherit;">"The&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;&nbsp;is&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;an&nbsp;&nbsp;&nbsp;Physical&nbsp;&nbsp;&nbsp;Data&nbsp;&nbsp;&nbsp;model.&nbsp;"</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Else&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProcessFolder&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">End&nbsp;&nbsp;&nbsp;If&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">'&nbsp;&nbsp;&nbsp;This&nbsp;&nbsp;&nbsp;routine&nbsp;&nbsp;&nbsp;copy&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;into&nbsp;&nbsp;&nbsp;comment&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;table,&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;column&nbsp;&nbsp;&nbsp;and&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">'&nbsp;&nbsp;&nbsp;of&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;folder&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Private&nbsp;&nbsp;&nbsp;sub&nbsp;&nbsp;&nbsp;ProcessFolder(folder)&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;Tab&nbsp;&nbsp;&nbsp;'running&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;table&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;Tab&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;folder.tables&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;tab.isShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tab.comment&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;tab.name&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;col&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;running&nbsp;&nbsp;&nbsp;column&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;col&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;tab.columns&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;col.comment=&nbsp;&nbsp;&nbsp;col.name&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;'running&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;folder.Views&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;view.isShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;view.comment&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;view.name&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span></li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;go&nbsp;&nbsp;&nbsp;into&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;sub-packages&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;running&nbsp;&nbsp;&nbsp;folder&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For&nbsp;&nbsp;&nbsp;Each&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;In&nbsp;&nbsp;&nbsp;folder.Packages&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;f.IsShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProcessFolder&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span></li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">end&nbsp;&nbsp;&nbsp;sub&nbsp;&nbsp;</span>
			</li>
		</ol>
	</div>
	<br />
	<p
		style="font-size: 16px; color: #4F4F4F; text-align: justify; font-family: &amp; quot; background-color: #FFFFFF;">
		从comment替换name</p>
	<div class="dp-highlighter bg_java"
		style="margin: 0px 0px 24px; padding: 1px 0px 0px; font-family: Consolas,&amp; quot; background-color: #E7E5DC; color: #454545;">
		<div class="bar" style="margin: 0px; padding: 0px 0px 0px 45px;">
			<div class="tools"
				style="margin: 0px; padding: 3px 8px 10px 10px; font-size: 9px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #F8F8F8;">
				<b>[java]</b>&nbsp;<a
					href="https://blog.csdn.net/chao_1990/article/details/52620206#"
					class="ViewSource" target="_self">view plain</a><span
					class="tracking-ad">&nbsp;<a
					href="https://blog.csdn.net/chao_1990/article/details/52620206#"
					class="CopyToClipboard" target="_self">copy</a>
					<div style="margin: 0px; padding: 0px;"></div>
				</span><span class="tracking-ad"></span>
			</div>
		</div>
		<ol class="dp-j" style="background-color: #FFFFFF; color: #5C5C5C;">
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;"><span
					style="background-color: inherit;">Option&nbsp;&nbsp;&nbsp;Explicit&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">ValidationMode&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;True&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">InteractiveMode&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;im_Batch&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Dim&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">'&nbsp;&nbsp;&nbsp;get&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;active&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">Set&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;ActiveModel&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">If&nbsp;&nbsp;&nbsp;(mdl&nbsp;&nbsp;&nbsp;Is&nbsp;&nbsp;&nbsp;Nothing)&nbsp;&nbsp;&nbsp;Then&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox&nbsp;&nbsp;&nbsp;<span
					class="string" style="color: #0000FF; background-color: inherit;">"There&nbsp;&nbsp;&nbsp;is&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;Model&nbsp;"</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">ElseIf&nbsp;&nbsp;&nbsp;Not&nbsp;&nbsp;&nbsp;mdl.IsKindOf(PdPDM.cls_Model)&nbsp;&nbsp;&nbsp;Then&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox&nbsp;&nbsp;&nbsp;<span
					class="string" style="color: #0000FF; background-color: inherit;">"The&nbsp;&nbsp;&nbsp;current&nbsp;&nbsp;&nbsp;model&nbsp;&nbsp;&nbsp;is&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;an&nbsp;&nbsp;&nbsp;Physical&nbsp;&nbsp;&nbsp;Data&nbsp;&nbsp;&nbsp;model.&nbsp;"</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Else&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProcessFolder&nbsp;&nbsp;&nbsp;mdl&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">End&nbsp;&nbsp;&nbsp;If&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">Private&nbsp;&nbsp;&nbsp;sub&nbsp;&nbsp;&nbsp;ProcessFolder(folder)&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">On&nbsp;Error&nbsp;Resume&nbsp;Next&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;Tab&nbsp;&nbsp;&nbsp;'running&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;table&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;Tab&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;folder.tables&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;tab.isShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tab.name&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;tab.comment&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;col&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;running&nbsp;&nbsp;&nbsp;column&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;col&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;tab.columns&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;col.comment=</span><span
					class="string" style="color: #0000FF; background-color: inherit;">""</span><span
					style="background-color: inherit;">&nbsp;then&nbsp;&nbsp;</span></span></li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">else</span><span
					style="background-color: inherit;">&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;col.name=&nbsp;&nbsp;&nbsp;col.comment&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;'running&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">for</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;each&nbsp;&nbsp;&nbsp;view&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;folder.Views&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;view.isShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;view.name&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;&nbsp;view.comment&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span></li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;go&nbsp;&nbsp;&nbsp;into&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;sub-packages&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dim&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;running&nbsp;&nbsp;&nbsp;folder&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For&nbsp;&nbsp;&nbsp;Each&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;In&nbsp;&nbsp;&nbsp;folder.Packages&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;not&nbsp;&nbsp;&nbsp;f.IsShortcut&nbsp;&nbsp;&nbsp;then&nbsp;&nbsp;&nbsp;</span></span>
			</li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProcessFolder&nbsp;&nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;<span
					class="keyword"
					style="font-weight: 700; background-color: inherit; color: #006699; font-size: 14px;">if</span><span
					style="background-color: inherit;">&nbsp;&nbsp;&nbsp;</span></span></li>
			<li class="" style="margin-left: 40px; background-color: #F8F8F8;">
				<span style="color: #000000; background-color: inherit;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next&nbsp;&nbsp;&nbsp;</span>
			</li>
			<li class="alt" style="margin-left: 40px; color: inherit;"><span
				style="color: #000000; background-color: inherit;">end&nbsp;&nbsp;&nbsp;sub&nbsp;&nbsp;</span>
			</li>
		</ol>
	</div>
</body>